# $Id: PKGBUILD 66229 2012-02-23 05:03:36Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Henrique C. Alves <hcarvalhoalves@gmail.com>

pkgname=matchbox-desktop
pkgver=2.0
pkgrel=3
pkgdesc="A PDA style application launcher or 'item browser'."
arch=('i686' 'x86_64')
license=('GPL')
depends=('libmatchbox' 'startup-notification' 'libpng' 'gtk2')
url="http://matchbox-project.org/"
options=('!libtool')
source=(http://matchbox-project.org/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
md5sums=('b0a4a47130272e2adab4e9feb43a6c9c')

build() {
  cd $srcdir/$pkgname-$pkgver
  LDFLAGS=-lX11 ./configure --sysconfdir=/etc --prefix=/usr --enable-startup-notification
  make
  make DESTDIR=$pkgdir install
}
